package com.bgIntlgn.client.entity.custom;

import yuhuibear.poat.annotations.relation.Field;
import yuhuibear.poat.annotations.relation.Table;
import yuhuibear.poat.object.bean.Bean;

/**
 * 表示具体的客户对于某个零件的别名
 * @author yuhui
 *
 */
@Table(name = "custom_alias", constrain = "")
public class CustomAlias implements Bean {

	@Field(name = "alias_id", type = "int8", constrain = " not null references alias(id) on update cascade on delete cascade")
	private Long aliasId;

	@Field(name = "custom_id", type = "int8", constrain = " not null references customs(id)  on update cascade on delete cascade")
	private Long customId;

	public Long getAliasId() {
		return this.aliasId;
	}

	public void setAliasId(Long aliasId) {
		this.aliasId = aliasId;
	}

	public Long getCustomId() {
		return this.customId;
	}

	public void setCustomId(Long customId) {
		this.customId = customId;
	}
	
}
